<!DOCTYPE html>
<html>
<head>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js">
</script>
<script src="js/jquery-1.9.0.js"></script>
<script src="js/jquery-ui-1.10.0.custom.js"></script>

<?php include_once('dbcon.php'); ?>
<head>
<?php include_once('header.html'); ?>
<?php 
//include_once('sessioncheck.php');
?>

</head>
<script>
$(function() {
		$( "#button" ).button();
		$( "#button5" ).button();
		$( "#submit" ).button();
		$( "#dialog" ).dialog({ autoOpen: false },{ resizable: false });
	});
	
</script>
<style>
body {
	margin:200px 0px; padding:0px;

	text-align:center;
	}
	
	
	h1{
		line-height: 10px;
	}
	
</style>

</head>
<body>
	<h1>Welcome to the EMU!</h1>
<?php if(isset($_GET["login"])) : ?>
    <div class="ui-widget">
	<p>Log in failed, please try again.</p>
</div>
    
<?php else : ?>
    <div class="ui-widget">
	<p>Please log in below.</p>
</div>
<?php endif; ?>



<form action="loginportal.php" method="post">
 <p>Username: <input type="text" name="username"><br><p>
 <p>Password: <input type="password" name="password"><p>
 <button id="button5" input type="submit" name="submit" value="Submit me!" />Submit</button>
</form>




<a> Need access? Contact the contact! </a>
<br>

<a href="UIexample.html">JQuery UI Examples</a>

</body>



</html>
